<?php if(!$rever_name) $rever_name='审批'; ?>
<{if isprint() }>
	<table border="0" cellpadding="0" cellspacing="0" width="100%" class="pbot">
            <tr>
             <{if $rever_title_arr}>
             <?$i=0?>
             <{if $reviewers}><{foreach item=rev from=$reviewers}>
                    <{if $rev.pass!=0}>
                    <td>&nbsp;<?$rever_title_arr[$i]?>: <{$rev.user_name}> <{ if $rev.pass==2 }>( <?= ReviewerHelper::flow2txt($rev.pass) ?>) &nbsp; <{/if}></td>
                    <{/if}>
                    <?$i++?>
            <{/foreach}><{/if}>             
             <{else}>
            <td>&nbsp; <{$rever_name}>：</td>
            <{if $reviewers}><{foreach item=rev from=$reviewers}>
                    <{if $rev.pass!=0}>
                            <td><{$rev.user_name}> <{ if $rev.pass==2 }>( <?= ReviewerHelper::flow2txt($rev.pass) ?>) &nbsp; <{/if}></td>
                    <{/if}>
            <{/foreach}><{/if}>
            <{/if}>
            </tr>
        </table>
<{else}>
	<table border="0" class="list">
	<caption><{$rever_name}>明细</caption>
	<tbody>
	<tr class="nobg">
		<th><{$rever_name}></th>
		<th>结果</th>
		<th>描述</th>
		<th width="120">时间</th>
		<th width="200">追踪</th>
	</tr>
	<{if $reviewers}><{foreach item=rev from=$reviewers}>
		<tr>
			<td><{$rev.user_name}></td>
			<td class="state"><?= ReviewerHelper::flow2txt($rev.pass) ?></td>
		<{if $rev.pass!=0}>
			<td><div class="text"><{$rev.remark}></div></td>
			<td><{= date('Y-m-d H:i', $rev.addtime)}></td>
			<td><div class="text"><{$rev.track}></div></td>
		<{else}>
			<td></td>
			<td></td>
			<td></td>
		<{/if}>
		</tr>
	<{/foreach}><{/if}>
	</tbody></table>

	<? include "rever/frame_reviewer_back.phtml"?>

<{/if}>
